package dgut.haitaobao.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "product_params",autoResultMap = true)
public class ProductParams {
    @TableId(value = "param_id",type = IdType.INPUT)
    private String paramId;

    @TableField(value = "product_id")
    private String productId;

    @TableField(value = "product_place")
    private String productPlace;

    @TableField(value = "foot_period")
    private String footPeriod;

    @TableField(value = "brand")
    private String brand;

    @TableField(value = "factory_name")
    private String factoryName;

    @TableField(value = "factory_address")
    private String factoryAddress;

    @TableField(value = "packaging_method")
    private String packagingMethod;

    @TableField(value = "weight")
    private String weight;

    @TableField(value = "storage_method")
    private String storageMethod;

    @TableField(value = "eat_method")
    private String eatMethod;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_time")
    private Date updateTime;
}
